Function Call
Calls a function, which returns a value for use in an expression.
Syntax
FunctionName [ ( [Formal =>] Actual, ... ) ]
Formal = {either} Name FunctionCall
Actual = Expression
Where
See Expression
Rules
The two forms of syntax (ordered list or explicitly named parameters) can be
mixed, but the ordered list must come before the named parameters.
Tips
Use the parameter names rather than parameter order to improve readability
and reduce the risk of making errors.
Example
B := To_Std_logic_vector(J, 2+2);
C := IEEE.Numeric_std."+" (L => A, R => B);
-- (Equivalent to C := A + B;)
See Also
Function, Expression, Operator, Procedure Call
|